<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
    <head>
        <title></title>
        <meta charset="utf-8">
        <meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
        <link rel="stylesheet" href="css/fonts/font-awesome.min.css">
        <link rel="stylesheet" href="css/ui-box.css">
        <link rel="stylesheet" href="css/ui-base.css">
        <link rel="stylesheet" href="css/ui-color.css">
        <link rel="stylesheet" href="css/appcan.icon.css">
        <link rel="stylesheet" href="css/appcan.control.css">
        <link rel="stylesheet" href="test_content/css/main.css">
    </head>
    <body class="um-vp bc-bg" ontouchstart>
        <div class="ub ub-ver">
            <div class="ub-img1 accban uh-acc1 ub-fh ub ub-ver">
                <div class="uinn-a1 ub ub-f1">
                    <div class="uwh-acc1 uc-a1 uba b-wh-acc1 us-acc1 accuser mar-ar1"></div>
                    <div class="ub-f1 ub ub-ver">
                        <div class="ub ">
                            <div class="umar-ar3 bc-text-head ulev-app1">
                                贾克斯
                            </div>
                            <div class="sc-bg-alert uc-a1 uinn3 ulev-2 bc-text-head">
                                V<span class="ulev-2">2</span>会员
                            </div>
                        </div>
                        <div class="ulev-4 bc-text-head umar-t">
                            积分:136
                        </div>
                        <div class="ulev-4 bc-text-head umar-t">
                            金牌用户
                        </div>
                    </div>
                </div>
                <div class="ub c-bla-50 ubb ubt b-wh-acc1 uinn-acc1 ub-ae bc-text-head">
                    <div class="ub ub-ver ub-f1 ulev-4 ub-pc ubr b-gra-acc2 us-acc2 uinn-acc2">
                        <div class="  tx-c ub-f1">
                            优惠券
                        </div>
                        <div class="ub-ae ufm1 tx-c">
                            (0)
                        </div>
                    </div>
                    <div class="ub ub-ver ulev-4 ub-f1 ub-pc ubr b-gra-acc2 us-acc2 uinn-acc2">
                        <div class="  tx-c ub-f1">
                            礼品卡
                        </div>
                        <div class="ub-ae ufm1 tx-c">
                            (0)
                        </div>
                    </div>
                    <div class="ub ub-ver ulev-4 ub-f1 ub-pc ubr b-gra-acc2 us-acc2 uinn-acc2">
                        <div class="  tx-c ub-f1">
                            积分
                        </div>
                        <div class="ub-ae  ufm1 tx-c">
                            (0)
                        </div>
                    </div>
                    <div class="ub ub-ver ub-f1 ub-pc ulev-4 uinn-acc2">
                        <div class="  tx-c ub-f1">
                            金豆
                        </div>
                        <div class="ub-ae  ufm1 tx-c">
                            (0)
                        </div>
                    </div>
                </div>
            </div>
            <div class="ub-f1 ub ub-ver">
                <div class="ub bc-text">
                    <div class="ub-f1 ub ub-ver ub-ac ub-pc">
                        <div class="ub-img uwh-acc2 accIcon1 umar-at1"></div>
                        <div class="ulev-1 umar-t-acc1">
                            物流查询
                        </div>
                    </div>
                    <div class="ub-f1 ub ub-ver ub-ac ub-pc">
                        <div class="ub-img uwh-acc2 accIcon2 umar-at1"></div>
                        <div class="ulev-1 umar-t-acc1">
                            我的关注
                        </div>
                    </div>
                    <div class="ub-f1 ub ub-ver ub-ac ub-pc">
                        <div class="ub-img uwh-acc2 accIcon3 umar-at1"></div>
                        <div class="ulev-1 umar-t-acc1">
                            浏览查询
                        </div>
                    </div>
                    <div class="ub-f1 ub ub-ver ub-ac ub-pc">
                        <div class="ub-img uwh-acc2 accIcon4 umar-at1"></div>
                        <div class="ulev-1 umar-t-acc1">
                            全部订单
                        </div>
                    </div>
                </div>
                <div class="ub bc-text">
                    <div class="ub-f1 ub ub-ver ub-ac ub-pc">
                        <div class="ub-img uwh-acc2 accIcon5 umar-at1"></div>
                        <div class="ulev-1 umar-t-acc1">
                            消息中心
                        </div>
                    </div>
                    <div class="ub-f1 ub ub-ver ub-ac ub-pc">
                        <div class="ub-img uwh-acc2 accIcon6 umar-at1"></div>
                        <div class="ulev-1 umar-t-acc1">
                            我的账户
                        </div>
                    </div>
                    <div class="ub-f1 ub ub-ver ub-ac ub-pc">
                        <div class="ub-img uwh-acc2 accIcon7 umar-at1"></div>
                        <div class="ulev-1 umar-t-acc1">
                            客户服务
                        </div>
                    </div>
                    <div class="ub-f1 ub ub-ver ub-ac ub-pc">
                        <div class="ub-img uwh-acc2 accIcon8 umar-at1"></div>
                        <div class="ulev-1 umar-t-acc1">
                            添加
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="btn ub ub-ac bc-text-head ub-pc bc-btn"  id="btn">
            在浮动窗口关闭当前主窗口
        </div>

        4、打开index的浮动窗口
        <div class="btn ub ub-ac bc-text-head ub-pc bc-btn"  id="btn4">
            在浮动窗口执行脚本
        </div>
        <script src="js/appcan.js"></script>
        <script src="js/appcan.control.js"></script>
    </body>
    <script>
        appcan.ready(function() {
            appcan.initBounce();
        })

        appcan.button("#btn", "ani-act", function() {
            appcan.window.evaluateScript({
                name : 'pdf',
                scriptContent : 'appcan.window.close(-1)'
                // scriptContent:'alert("jj")'
            });
        })
        appcan.button("#btn4", "ani-act", function() {
            // appcan.window.openPopover({
            // name : 'index',
            // dataType : 0,
            // url : "index_content.html",
            // top : 100,
            // // left : 100,
            // // width : 400,
            // // height : 200,
            // });
            appcan.window.windowBack(1, 2000);
        })
    </script>
</html>